package com.drama.api.sys.withdraw.domain.po;

import com.drama.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "company_withdraw")
public class SysCompanyWithdrawPO extends BaseEntity {

    /**
     * 提现公司ID
     */
    @Column(name = "company_id")
    private String companyId;

    /**
     * 提现金额
     */
    @Column(name = "withdraw_money")
    private BigDecimal withdrawMoney;

    /**
     * 提现手续费用
     */
    @Column(name = "withdraw_commission")
    private BigDecimal withdrawCommission;

    /**
     * 提现实收金额
     */
    @Column(name = "withdraw_amount")
    private BigDecimal withdrawAmount;

    /**
     * 提现状态  1 打款中  2 已打款
     */
    @Column(name = "withdraw_state")
    private Integer withdrawState;

    /**
     * 收款人姓名
     */
    @Column(name = "bank_contacts")
    private String bankContacts;

    /**
     * 银行卡号
     */
    @Column(name = "bank_no")
    private String bankNo;

    /**
     * 开户行名称
     */
    @Column(name = "bank_name")
    private String bankName;

    /**
     * 开户行分行名称
     */
    @Column(name = "bank_branch")
    private String bankBranch;

    /**
     * 财务打款订单号
     */
    @Column(name = "order_number")
    private String orderNumber;


}